package com.ecloud.aiassistantbackground.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 上传文件表
 * </p>
 *
 * @author Squbirreland
 * @since 2021-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("assistant_upload_file")
@ApiModel(value = "UploadFile对象", description = "上传文件表")
public class UploadFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "上传文件id")
    @TableId(value = "upload_file_id", type = IdType.AUTO)
    private Integer uploadFileId;

    @ApiModelProperty(value = "上传日志id")
    private Integer uploadLogId;

    @ApiModelProperty(value = "资源地址 该地址可能会被释放以变得无效")
    private String uploadFileAddress;

    @ApiModelProperty(value = "上传文件名称")
    private String uploadFileName;

    @ApiModelProperty(value = "上传文件大小")
    private String uploadFileSize;

    @ApiModelProperty(value = "备用字段1")
    private String uploadFileReserve1;

    @ApiModelProperty(value = "备用字段2")
    private String uploadFileReserve2;

}
